import router from '@/router'
export default function routerPush (path, query = {}) {
  if (query === {}) router.push(path)
  else router.push({ path, query })
}
